<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2024/8/12 0012
 * Time: 17:52
 */

namespace ShipSun\WechatMini\Requests;

/**
 * Class AccessTokenRequest
 * @package ShipSun\WechatMini\Requests
 */
class AccessTokenRequest implements RequestInterface
{
    public $grant_type = 'client_credential';

    /**
     * @return string
     */
    public function getUrl()
    {
        return "https://api.weixin.qq.com/cgi-bin/token";
    }

    /**
     * @return string
     */
    public function getMethod()
    {
        return 'GET';
    }

    /**
     * @return mixed
     */
    public function isAccessToken()
    {
        return false;
    }
}
